package com.xmut.mall.coupon.controller;

import com.xmut.mall.coupon.utils.R;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("test")
public class TestController {

    @GetMapping("/testFeign")
    public R testFeign(@RequestParam String str){
        return R.ok().put("result",str);
    }
}
